package com.bayihouse.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bayihouse.model.request.community.CommunityQueryRequest;
import com.bayihouse.model.entity.Community;
import com.bayihouse.model.vo.CommunityVO;

import java.util.List;

/**
* @author Administrator
* @description 针对表【community】的数据库操作Service
* @createDate 2024-09-17 10:28:03
*/
public interface CommunityService extends IService<Community> {

    Wrapper<Community> getQueryWrapper(CommunityQueryRequest communityQueryRequest);

    CommunityVO getCommunityVO(Community community);

    List<CommunityVO> getCommunityVOList(List<Community> records);


    Long getByAddress(String address);


    Long getByAddressAndName(String name, String address);
}
